package com.lz.demo.log.log4j2.subpackage;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

/**
 * @author lzz
 * @environment IntelliJ IDEA 2020.3.1
 * @projectName java-log
 * @date 2024/04/08 08:58
 * @description:
 */
public class SubPackageTest {
    static final Logger LOGGER = LogManager.getLogger(SubPackageTest.class);

    public static void testPackageFilter() {
        LOGGER.debug("log4j2 subpackage debug print");
        LOGGER.info("log4j2 subpackage info print");
        LOGGER.warn("log4j2 subpackage warn print");
        LOGGER.error("log4j2 subpackage error print");
        LOGGER.fatal("log4j2 subpackage fatal print");
    }

}
